"""
私有成员变量
__xxxx
私有方法
def __xxx()
"""


class Phone:
    __current_voltage = None  # 私有属性，电压
    __is_5g_enable = True


    def __check_5g(self):
        if self.__is_5g_enable:
            print("5G开启")
        else:
            print("5G关闭")

    def call_by_5g(self):

        self.__check_5g()
        print("正在通话中")


Phone().call_by_5g()



